package com.twinkle.note.biz.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 频道-话题关联表
 * @TableName t_channel_topic_rel
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ChannelTopicRel {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 频道ID
     */
    private Long channelId;

    /**
     * 话题ID
     */
    private Long topicId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}